package com.atguigu.orderservice.client;

import com.atguigu.servicebase.vo.UcenterMemberForPay;
import io.swagger.annotations.ApiOperation;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

/**
 * @author gjl
 * @create 2021-04-19 10:19
 */
@Component
@FeignClient(name = "service-ucenter")
public interface UcenterClient {
    //根据用户id远程调用获取用户信息")
    @GetMapping("/ucenterservice/member/getUcenterForPay/{memberId}")
    public UcenterMemberForPay getUcenterForPay(@PathVariable("memberId") String memberId);
}
